<?php
/**
 * Created by PhpStorm.
 * User: sunshubo
 * Date: 2017/12/20
 * Time: 17:45
 */

class UpdateActiveInfo_control extends MY_Controller
{
    function index()
    {
        $body = $this->input->raw_input_stream;
        $body = json_decode($body);
        $this->load->model('active/UpdateActiveInfo_model', 'update');
        $res = $this->update->update_info($body);
        echo $res;
    }
}